]> dgit.raspbian.org Git - gnome-shell.git/commit
shellDBus: Accept connector to restrict OSD to one monitor
authorBenjamin Berg <bberg@redhat.com>
Thu, 11 Apr 2019 09:43:03 +0000 (11:43 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Thu, 11 Apr 2019 18:53:53 +0000 (18:53 +0000)
commiteb9000576cdff9518dbfc0f452598b7a44802929
tree9d99f82ff5d9df8f97cd2f457b9ca28d701a9718
parent862aaf341ee3e808d5489a42b91b7aee092e2947
shellDBus: Accept connector to restrict OSD to one monitor

The monitor index is not something that gnome-shell and
gnome-settings-daemon seem to be agreeing about. Using the connector
string is a much more reliable method of identifying a specific screen
and we are indeed using this already for monitor labling.

So switch over to use the connector rather than the monitor index. If a
user tries to use the old API, then the OSD will simply show up on all
monitors (which is the status quo currently anyway).

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/489
js/ui/shellDBus.js